class Administrator < ActiveRecord::Base

  #Validation
  validates_presence_of :name
  validates_presence_of :lastName
  validates_presence_of :login

  validates_presence_of :ci

  validates_uniqueness_of :login

  #Relations
  has_many:categories
  has_many :machines
  has_many:events
end
